﻿using JESAI.Biz.Data.Enums;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace JESAI.Application.Abstractions.Sys.Dtos
{
    public class OnlineInfoInput
    {
        /// <summary>
        /// 主键ID
        /// </summary>
        public string Id { get; set; }

        /// <summary>
        /// 数据表ID
        /// </summary>
        public string TableId { get; set; }

        /// <summary>
        /// 数据表编码
        /// </summary>
        public string TableCode { get; set; }

        /// <summary>
        /// 数据来源
        /// </summary>
        public DataFormType DataForm { get; set; }

        /// <summary>
        /// 接口地址
        /// </summary>
        public string ApiUrl { get; set; }

        /// <summary>
        /// 数据表名称
        /// </summary>
        public string TableName { get; set; }

        /// <summary>
        /// 表描述
        /// </summary>
        public string TableComments { get; set; }

        /// <summary>
        /// 是否有效
        /// </summary>
        public bool IsValid { get; set; }

        /// <summary>
        /// 是否分页
        /// </summary>
        public bool IsPage { get; set; }

        /// <summary>
        /// 描述
        /// </summary>
        public string Description { get; set; }

        /// <summary>
        /// 是否显示复选框
        /// </summary>
        public bool IsShowCheckBox { get; set; }

        /// <summary>
        /// 是否单选
        /// </summary>
        public bool IsSingleSelected { get; set; }

        public List<OnlineFieldInput> OnlineFieldInputs { get; set; }
    }
}
